package com.topgay.service.board;

/*
 * 테스트 해볼때 만든 클래스입니다. 지워도 됨
 * 
 * by 한지수
 * 
 * 20141029_01
 * 
 */

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.topgay.dao.board.TestDAO;
import com.topgay.domain.TestMember;

@Service
public class TestService {
	
	@Autowired
	private TestDAO dao;
	
	public int insertMember(TestMember member){
		return dao.insertMember(member);
	}
	
	public TestMember selectMember(String name){
		return dao.selectMember(name);
	}
}
